#region Imported Namespaces
using System;
using System.Collections;
using System.Xml;
using System.Xml.Serialization;
using System.IO;
#endregion

namespace PHSRAG.Insight21.InsightWorkFlow
{
	/// <summary>
	/// Summary description for StaffConsentItemCollection.
	/// </summary>
	public class StaffConsentItemCollection
	{
		#region Private instance fields
		//private int protocolId = 0;
		private string logoLocation=string.Empty;
		private string title;
		private string pIName;
		private string protocolNo;
		private string sponsor;
		private string approvedBy;
		private string approvedDate;
		private string expiryDate;
		private string today;
		private string type;
        private string species;
//		private ArrayList formCollection;
//		private ArrayList studyStaff;
		private ArrayList staffConsentItems;
		#endregion
		

		#region Properties (Details to be displayed on Generated PDF)
		/// <summary>
		/// Gets or sets the title of the protocol
		/// </summary>
		public string Title
		{
			get { return title; }
			set { title= value ; } 
		}

		/// <summary>
		/// Gets or sets the name of the Principal Investigator of the protocol
		/// </summary>
		public string PIName
		{
			get { return pIName; }
			set { pIName= value ; } 
		}

		/// <summary>
		/// Gets or sets the protocol number
		/// </summary>
		public string ProtocolNumber
		{
			get { return protocolNo; }
			set { protocolNo= value ; } 
		}

		/// <summary>
		/// Gets or sets the primary sponsor of the protocol
		/// </summary>
		public string Sponsor
		{
			get { return sponsor; }
			set { sponsor= value ; } 
		}
		/// <summary>
		/// Gets or sets the approver's first name and last name
		/// </summary>
		public string ApprovedBy
		{
			get { return approvedBy; }
			set { approvedBy= value ; } 
		}
		/// <summary>
		/// Gets or sets the date on which the protocol is approved by HRO
		/// </summary>
		public string ApprovedDate
		{
			get { return approvedDate; }
			set { approvedDate= value ; } 
		}

		/// <summary>
		/// Gets or sets the date on which the protocol expires
		/// </summary>
		public string ExpiryDate
		{
			get { return expiryDate; }
			set { expiryDate= value ; } 
		}

		/// <summary>
		/// Gets or sets the date on which the Pdf is generated
		/// </summary>
		public string Today
		{
			get { return today; }
			set { today= value ; } 
		}

		/// <summary>
		/// Gets or sets the type of the protocol
		/// </summary>
		public string Type
		{
			get { return type; }
			set { type= value ; } 
		}

        /// <summary>
        /// Gets or sets the type of the species in the protocol
        /// </summary>
        public string Species
        {
            get { return species; }
            set { species = value; }
        }
		
		/// <summary>
		/// Gets or sets the protocolProcessId of authenticated process
		/// </summary>
//		public int ProtocolId
//		{
//			get { return protocolId; }
//			set { protocolId = value; }
//		}
		/// <summary>
		/// Gets or sets the physical path of the logo
		/// </summary>
		public string LogoLocation
		{
			get { return logoLocation; }
			set { logoLocation= value ; } 
		}
		/// <summary>
		/// Gets or sets the collection of Form objects
		/// </summary>
		[XmlArrayItem(ElementName="StaffConsentItem", Type=typeof(StaffConsentItem))]
		[XmlArray(ElementName="")]
		public ArrayList StaffConsentItems
		{
			get { return staffConsentItems; }
			set { staffConsentItems = value; }
		}
		#endregion
		public StaffConsentItemCollection()
		{
			staffConsentItems = new ArrayList();
		}
	}
}
